package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.example.JavaBean.plus.Dept;

/**
 * @Auther:Liu
 * @Testname:DeptMapper
 * @Date:2025/8/4 15:54
 */
@Mapper
public interface DeptMapper extends BaseMapper<Dept> {

    @Select("select * from dept where deptno=#{id}")
    Dept findById(Integer id);
}
